package models

import "gorm.io/gorm"

type Purchase struct {
	gorm.Model
	Num    string  `gorm:"type:varchar(30)" json:"num"`
	Types  string  `gorm:"type:varchar(30)" json:"types"`
	Git    string  `gorm:"type:varchar(50)" json:"git"`
	Time   string  `gorm:"type:varchar(30)" json:"time"`
	Times  string  `gorm:"type:varchar(30)" json:"times"`
	Number int     `gorm:"type:int(10)" json:"number"`
	Price  float64 `gorm:"type:decimal(10,2)" json:"price"`
	Name   string  `gorm:"type:varchar(30)" json:"name"`
}
